package cn.eric.framework.exception.dao.i;

import cn.eric.framework.exception.dao.BusinessExceptionLogDao;
import cn.eric.framework.exception.domain.log.BusinessExceptionLog;
import org.springframework.orm.hibernate5.HibernateTemplate;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Repository
@Transactional
public class IBusinessExceptionLogDao implements BusinessExceptionLogDao {
    @Resource
    private HibernateTemplate hibernateTemplate;

    @Override
    public void save(BusinessExceptionLog bel) {
        hibernateTemplate.save(bel);
    }
}
